<!DOCTYPE html>       
<!--
==========================================================================
云捷GO自动生成修改页面代码,只生成一次,按需修改.
生成日期：2020-03-26 20:35:17 +0800 CST
生成路径: template/module/config/edit.html
生成人：yunjie
==========================================================================
-->
<html lang="zh">
<head>
    {{template "header" (OssUrl)}}
    <link href="{{OssUrl}}/resource/ajax/libs/datapicker/bootstrap-datetimepicker.min.css" rel="stylesheet"/>
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-config-edit">
        <input name="config_id" value="{{.config.ConfigId}}" type="hidden">
            
            <div class="form-group">
                <label class="col-sm-3 control-label">参数名称111：</label>
                <div class="col-sm-8">
                    <input name="configName" value="{{.config.ConfigName}}" class="form-control"  type="text" required>
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">参数键名111：</label>
                <div class="col-sm-8">
                    <input name="configKey" value="{{.config.ConfigKey}}" class="form-control"  type="text" >
                </div>
            </div>
            
            <div class="form-group">
                <label class="col-sm-3 control-label">参数键值：</label>
                <div class="col-sm-8">
                    <input name="configValue" value="{{.config.ConfigValue}}" class="form-control"  type="text" >
                </div>
            </div>
             
            <div class="form-group">
                <label class="col-sm-3 control-label">系统内置（Y是 N否）：</label>
                <div class="col-sm-8">
                    <select name="configType" class="form-control m-b" >
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>  
                    
            <div class="form-group">
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <input name="remark" value="{{.config.Remark}}" class="form-control"  type="text" >
                </div>
            </div>
          
    </form>
</div>
{{template "footer" (OssUrl)}}
<script src="{{OssUrl}}/resource/ajax/libs/datapicker/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript">
    var prefix = ctx + "module/config";
    $("#form-config-edit").validate({
        focusCleanup: true
    });

    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save(prefix + "/edit", $('#form-config-edit').serialize());
        }
    }
                                            
    
</script>
</body>
</html>